package top.lixunda.ecommerce.server.auth;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import top.lixunda.common.validate.EnableXumValidator;

/**
 * @author Xumda
 * @version time:2019/11/22 17:07
 */
@SpringBootApplication
@EnableEurekaClient
@EnableRedisHttpSession
@EnableCaching
@EnableXumValidator
@EnableFeignClients(basePackages = {
        "top.lixunda.ecommerce.server.user.api.feign",
        "top.lixunda.center.xxljob.api.feign"
})
@Slf4j
public class AuthCodeApp {

    public static void main(String[] args) {
        SpringApplication.run(AuthCodeApp.class, args);
        log.info("AuthCodeApp 启动成功");
    }

}
